<form name="infosearch" method="post" action="<?php echo $this->_tpl_vars['search_link'] ?>">
<input type="hidden" name="lng" value="<?php echo $this->_tpl_vars['lng'] ?>">
<input type="hidden" name="mid" value="<?php echo $this->_tpl_vars['mid'] ?>">
<input type="hidden" name="keyname" value="0">
<table  class="formlist">
	<tr>
		<td><input id="keyword" name="keyword" type="text" class="infoInput" size="20"/></td>
	</tr>
	<tr>
		<td>
			<select size="1" name="tid" class="select" id="tid">
				<option selected value="0">ALL</option>
				<?php if (count($this->_tpl_vars['array'])>0){$divid_list=1;for($list=0;$list<count($this->_tpl_vars['array']); $list++){?>
				<option value="<?php echo $this->_tpl_vars['array'][$list]['tid'] ?>"><?php echo $this->_tpl_vars['array'][$list]['typename'] ?></option>
				<?php }} ?>
			</select>
		</td>
	</tr>
	<tr>
		<td><input name="submitsearch" type="submit" class="buttonface" value="Search" /></td>
	</tr>
</table>
</form>
